<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="top.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>成员管理</title>
	<style type="text/css">
		.m{
			font-size:40px;
			color:#ff7400;
			margin-top:30px;
		}
	</style>
  </head>
  
  <body>
  
  	<%
  		List<Employee> lists=(List<Employee>)request.getAttribute("lists");
  		int i=1;
  	 %>
  	
	<div class="container m" style="width:170px">成员管理</div>
	
	<div class="container " style="margin-top:30px;width:500px">
		<table class="table table-striped" style="">
        <thead>
          <tr>
            <th style="width:20%">#</th>
            <th style="width:40%">姓名</th>
            <th style="width:30%">密码</th>
            
          </tr>
        </thead>
        <tbody>
       	<%
       		for(Employee e:lists){
       		
       	 %>
	          <tr>
	            <td><%=i++ %></td>
	            <td><%=e.getUsername() %></td>
	            <td>******</td>
	          </tr>
          <%
          	}
           %>
         
        </tbody>
      </table>
      	
      	<div class="container" style="width:75px">
		<a class="btn btn-primary" href="createmember.jspx" style="">添加成员</a>  
      	</div>
	</div>
	
  </body>
</html>
